from flask import Blueprint
from . import view

graph_blueprint = Blueprint('graph', __name__)

# 知识地图生成
graph_blueprint.add_url_rule(rule='/show', methods=['POST'], view_func=view.generate)


graph_blueprint.add_url_rule(rule='/rag', methods=['POST'], view_func=view.rag)